//
//  MyMessageDetailController.m
//  大股票
//
//  Created by apple on 2019/9/5.
//  Copyright © 2019 apple. All rights reserved.
//

#import "MyMessageDetailController.h"
#import "HHYUtils.h"
#import "MyHeyueController.h"

@interface MyMessageDetailController ()

@end

@implementation MyMessageDetailController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title=@"详情";
    self.benjinLabel.text=[NSString stringWithFormat:@"本金：%@元",self.applyModel.tzbj];
    self.guanlifeiLabel.text=[NSString stringWithFormat:@"管理费：%@元",self.applyModel.glf];
    self.peizizijinLabel.text=[NSString stringWithFormat:@"配资资金：%@元",self.applyModel.pzzj];
    self.totalMoney.text=[NSString stringWithFormat:@"共支付：%.2f元",[self.applyModel.tzbj floatValue]+[self.applyModel.glf floatValue]];
    self.timeLabel.text=[HHYUtils getCurrentTimeWithNum:self.applyModel.createTime];
}

- (IBAction)goDetail:(id)sender {
    MyHeyueController* heyue=[[MyHeyueController alloc] init];
    [self.navigationController pushViewController:heyue animated:YES];
}
@end
